package cn.wapache.time;

/**
 * 月份和几号, 月和日
 * 
 * 
 * 改进
 * 
 * 1. 按java.time的规范实现某些方法,如大小相等比较,加减处理
 * 
 * @author ykuang
 *
 */
public class MonthDay {
	
    /**
     * The month-of-year.
     */
    private final short month;
    /**
     * The day-of-month.
     */
    private final short day;
    
	public MonthDay(short month, short day) {
		this.month = month;
		this.day = day;
	}

	public short getMonth() {
		return month;
	}

	public short getDay() {
		return day;
	}
    
}
